package com.itlxd.exception;


import com.itlxd.global.SysConstants;

/**
 * @author: lixiaodong
 **/
public class LoginException extends RuntimeException{

    private Integer code;

    public LoginException(Integer code, String message) {
        super(message);
        this.code = code;
    }

    public LoginException(String message) {
        super(message);
        this.code = SysConstants.NO_LOGIN;
    }
}
